package com.hb.core.pojo.project.evaluation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hb.core.pojo.parent.MPCommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 评标委员会成员信息
 * </p>
 *
 * @author zhaojk
 * @since 2021-08-30
 */
@Data
@Builder
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("trade_evaluation_committee_members")
@ApiModel(value="EvaluationCommitteeMembers对象", description="评标委员会成员信息")
@NoArgsConstructor
public class EvaluationCommitteeMembers extends MPCommonEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评委会ID")
    private Long evaluationCommitteeId;

    @ApiModelProperty(value = "成员Id")
    private Long memberId;

    @ApiModelProperty(value = "成员姓名")
    private String memberName;

    @ApiModelProperty(value = "专家专业")
    private String major;

    @ApiModelProperty(value = "成员所属企业")
    private String memberCompany;

    @ApiModelProperty(value = "成员手机号")
    private String memberMobile;

    @ApiModelProperty(value = "成员身份证")
    private String memberIdCard;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "成员类型(1：指定专家   2：招标人代表  3:随机专家)")
    private Integer memberType;

    @ApiModelProperty(value = "是否为组长  1：是   0：否")
    private Integer chairmanFlag;

    @ApiModelProperty(value = "是否能登录  1：是   0：否")
    private Integer validFlag;

    @ApiModelProperty(value = "投票人的id(点击投票的主键id)")
    private Long leaderId;

    @ApiModelProperty(value = "承诺书确认标志（1，确认；2，未确认）")
    private Integer confirmationFlag;

    @ApiModelProperty(value = "承诺书签字信息")
    private String confirmationImage;

    @ApiModelProperty(value = "是否补抽专家（1，是，0，否）")
    private Integer extractType;

    @ApiModelProperty(value = "专家的主专业")
    @TableField(exist = false)
    private String parentMajorCode;

    @ApiModelProperty(value = "性别（0，男；1，女）")
    private Integer sex;
}
